<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新建学生</title>
</head>
<body>

<form action="createStudent" method="post">

   学号: <input type="text" name="studentNum"><br>
   姓名: <input type="text" name="name"><br>
   性别: <input type="text" name="sex"><br>
   出生日期: <input type="date" name="birthday"><br>
   邮箱: <input type="text" name="email"><br>
   备注: <input type="text" name="desc"><br>
   班级:<select name="banji">
        <c:forEach items="${banjiList}" var="banji">
           <option value="${banji.id}">${banji.className}</option>
        </c:forEach>
      </select>

   <input type="submit" value="提交">
</form>
<a href="studentManagerPage.jsp">回去</a>
</body>
</html>
